/**
 * 在生产环境 代理是无法生效的，所以这里没有生产环境的配置
 * The agent cannot take effect in the production environment
 * so there is no configuration of the production environment
 * For details, please see
 * https://pro.ant.design/docs/deploy
 */

// '/service/partTimerWb/': {
//   target: 'http://219.238.238.145:6008/',
//   changeOrigin: true,
//   pathRewrite: { '^': '' },
// },
export default {
  dev: {
    '/service/partTimerWb/': {
      target: 'http://yapi.39.net/',
      changeOrigin: true,
      pathRewrite: { '^/service/partTimerWb/': '/mock/131/partTimerWb/' },
    },
  },
  test: {
    '/service/partTimerWb/': {
      target: 'http://219.238.238.144:9010/',
      changeOrigin: true,
      pathRewrite: { '^': '' },
    },
    '/service/score/imageUpload': {
      target: 'http://219.238.238.145:6008/',
      changeOrigin: true,
      pathRewrite: { '^': '' },
    },
  },
  pre: {
    '/api/': {
      target: 'your pre url',
      changeOrigin: true,
      pathRewrite: { '^': '' },
    },
  },
};
